<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/admin/include/js/loginJs.js"></script>
<title>系统后台登录</title>
</head>

<body>
<c:if test="${empty loginUser}">
<form>
登录名：<input type="text" name="loginName" />
密码：<input type="password" name="loginPassword" />
<input type="button" value="登录" onclick="doLogin()"/>
<input type="reset" value="清空"/>
</form>
</c:if>
<c:if test="${!empty loginUser}">
	${loginUser.realName} 欢迎您！ <a href="main.seam">登入</a> <a href="javascript:loginOut()">注销</a>
</c:if>
</body>
</html>